package com.example.demo.entity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface UserMapper {
    //注册
    void insertUser(User user);
    //登录
    User selectByName(@Param("userName") String userName);
}
